<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>管理员在线</title>
    <link rel="stylesheet" type="text/css" href="/tp3.2/Public/css/article.css">
    <style type="text/css">
        table td{
            white-space: nowrap;
            width: auto;
        }
    </style>
</head>
<body>
<div class="header">
    <div class="header-login"><a href="<?php echo U('Index/index');?>">BackStage</a></div>
    <div style="width: 180px;height: 30px;color: #FFFFFF;float: left;margin-top: 20px">
        您好，<a href="" style="color: #0ae1c0;font-size: 20px"><?php echo ($name); ?></a>
    </div>
    <div class="header-nav">
        <a class="header-url" href="<?php echo U('Admin/article');?>">添加文章</a>
        <a class="header-url" href="<?php echo U('Admin/showarticle');?>">文章列表</a>
        <a class="header-url" href="<?php echo U('Admin/myuser');?>">用户管理</a>
        <a class="header-url" href="<?php echo U('Admin/login');?>?quit=exit">退出登录</a>
    </div>
</div>
<!--------------------------------用户申请管理页面-------------------------------->
<div class="main">
    <div class="box_a" style="height: auto">
        <p class="main-head-a"  style="color: #FFFFFF;background-color: transparent">后台管理</p>
        <div class="alist-title"><span>用户管理</span></div>
        <div class="myuser" >
            <table align="center" cellspacing="20">
                <thead style="color: #0affe0" >
                <tr >
                    <td>用户邮箱</td>
                    <td>文章编号</td>
                    <td>文章标题</td>
                    <td>操作</td>
                </tr>
                </thead>
                <?php if(is_array($ulist)): foreach($ulist as $key=>$vo): ?><tbody>
                <tr>
                    <td><?php echo ($vo["mail"]); ?></td>
                    <td><?php echo ($vo["id"]); ?></td>
                    <td><?php echo ($vo["headline"]); ?></td>
                    <td>
                        <a href="<?php echo U('Admin/userarticle');?>?id=<?php echo ($vo["id"]); ?>"><img src="/tp3.2/Public/images/timg.jpg">详情</a>||
                        <a href="<?php echo U('Admin1/aprocess');?>?act=1&id=<?php echo ($vo["id"]); ?>"><img src="/tp3.2/Public/images/yes.jpg">同意</a>||
                        <a href="<?php echo U('Admin1/aprocess');?>?act=0&id=<?php echo ($vo["id"]); ?>"><img src="/tp3.2/Public/images/no.jpg">拒绝</a>
                    </td>
                </tr>
                </tbody><?php endforeach; endif; ?>
            </table>
        </div>
    </div>
</div>
<div class="footer"></div>
</body>
</html>